using System;
using System.Collections.Generic;
using Table.DataModel;
namespace Table.Dao
{
    public class TableSocialConfigDao:DaoBase<TableSocialConfig>
    {
        public override string GetFileName()
        {
            return "TableSocialConfig.csv";
        }
        protected override TableSocialConfig ParseRowData(string[] rowData)
        {
            return null;
        }
        protected override void InitTableRowData(TableFileReader dfr)
        {
            for (int i = 0; i < 5; ++i)
            {
                dfr.ReadRow();
            }
            TableSocialConfig.spaceOpenLevel = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceIntroduceTextMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceIntroduceSoundMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceMoodPictureMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceMoodTextMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spacePutGiftMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceGutGiftMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceGutGiftProb = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceSendGiftCostType = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceSendGiftCost = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceDropBoxId = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceDropBoxWeight = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceSentFlowerMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceFollowMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceUsedNameMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceFootprint = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceReplyMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceMoodMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceRankMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spacePraisePlayerMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceReplyNum = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceMessageNum = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceMoodNumMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceForwardMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spcaeLocationMax = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceFanNum = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceFootprintNum = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceWordsNum = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceCommentNum = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceNum = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceHisNum = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceZanNum = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceMoodCommentDesc = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceCommentDesc = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spacePiceturWidth = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spacePiceturHeight = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceThumbWidth = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceThumbHeight = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceHeadWidth = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.spaceHeadHeight = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.levelUnlockPublishPic = int.Parse(dfr.ReadRow()[1]);
            TableSocialConfig.GeneralLongPressResponseTime = int.Parse(dfr.ReadRow()[1]);
        }
    }
}
